<?php
class ActorsModel extends CI_Model {
	function getActorName($actorid){
		$sql = "select NAME from actors where ACTORID = $actorid";
		$data = $this->db->query($sql);
		return $data;		
	}
}
?>